package com.jiajunsong.blog.domain;

public class Result {

	private String error;
	private Object data;
	public Result() {
		this.error="";
		this.data=null;
	}
	public Result(String error,Object data) {
		this.error = error;
		this.data = data;
	}
	public Result(String error) {
		this.error = error;
		this.data = null;
	}
	public String getError() {
		return error;
	}
	public void setError(String error) {
		this.error = error;
	}
	public Object getData() {
		return data;
	}
	public void setData(Object data) {
		this.data = data;
	}
	
}
